import sqlalchemy as sa
from sqlalchemy.orm import mapper 
from sqlalchemy.orm import sessionmaker, backref
from hellopylons.model import meta
from hellopylons.model.metamodel.User import tbluser
from hellopylons.model.metamodel.UserType import tblusertype


class User(object):
    pass

class UserType(object):
    pass

mapper(User, tbluser, properties={
    'tblusertype': sa.orm.relation(UserType)}
    )

mapper(UserType, tblusertype)

    